package com.xinqi.modules.prepare.folder.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "备课区文件夹-分享url")
public class PrepareFileShareURLDto {

    @Schema(description = "文件id")
    @NotNull(message = "备课区文件id不能为空")
    private Long id;

    @Schema(description = "截止时间")
    @NotNull(message = "截止时间不能为空")
    private Long deadline;

    @Schema(description = "课程类型标识 1课件 2资料 3作业 5讨论 6互动 8公告,88测评卷")
    private Integer type;

    /**
     * 分享人id
     */
    @Schema(description = "分享人id")
    private Long userId;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;
}
